//************************************************************************
//     rbst.h
//     2009 © Tom Booth
//
//     Definition for a string concatenator
//     
//
//************************************************************************

#ifndef STRINGCONCAT_HEADER
#define STRINGCONCAT_HEADER

#include "../../headers/dferrors.h"

int sc_start(void);

// add a string to be joined
int sc_add(int id, const char* s);

// join the strings that have been added
char* sc_join(int id);

// clear any string currently held in memory
void sc_clear(int id);

// dumps the current list onto stdout
void sc_dump(int id);


#endif